﻿<%@ Page Language="C#" MasterPageFile="~/Template/Form.master" AutoEventWireup="true"
    CodeFile="NewPostDetail.aspx.cs" Inherits="PostBoard_NewPostDetail" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">

    <script type="text/javascript" src="../My97DatePicker/WdatePicker.js"></script>

    <script type="text/javascript">
        function refreshParent() {
            try {
                window.opener.document.getElementById('ctl00$ListToolBarPlaceHolder$btnRefresh').click();
            }
            catch (e) {
            }
        }
   
    </script>

    <style type="text/css">
        .TextArea01
        {
            height: 70px;
            width: 80%;
        }
        .BigTB
        {
            height: 70px;
            width: 80%;
            background: #F4F9FF;
            overflow-y: visible;
        }
        .DetailTitle
        {
            background-color: #FBFBFB;
            text-align: center;
            padding: 3px;
            width: 25%;
        }
        .FieldInput
        {
            width: 75%;
            text-align: left;
        }
        span
        {
            color: #666666;
            font-family: Verdana,Arial,Helvetica,sans-serif;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ToolBarContentPlaceHolder" runat="Server">
    <table border="0" cellspacing="0" cellpadding="2">
        <tr>
            <td class="ToolMenuEdit">
                <div class="Normal" oldclass="Normal" onmouseover="OverChangeClass(this);" onmouseout="ReturnClass(this)">
                    <asp:LinkButton runat="server" ID="lbtnSave" OnClick="lbtnSave_Click">
                    <span><img src="<%=ResolveUrl("~/Images/Icon/Object/Dataset-add.gif")%>" /></span><span>提交</span></asp:LinkButton>
                </div>
            </td>
            <td class="Fg" id="tdDeleteFg" runat="server">
                <img src="../Images/FgLine.gif" alt="" />
            </td>
            <td class="ToolMenuEdit">
                <div class="Normal" oldclass="Normal" onmouseover="OverChangeClass(this);" onmouseout="ReturnClass(this)"
                    onclick="window.close();">
                    <span>
                        <img src="../Images/Icon/Action/delete.gif" alt="关闭" /></span><span>关闭</span>
                </div>
            </td>
            <td>
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="FieldContentPlaceHolder" runat="Server">
    <table id="Table2" cellspacing="3" cellpadding="3" class="Table" width="100%">
        <tr >
            <td class="DetailTitle">
                <span>&nbsp;留言标题：</span>
            </td>
            <td class="FieldInput">
                <asp:TextBox ID="tbPostTitle" runat="server" CssClass="Textbox01" Width="90%" MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator
                    ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" Display="Static"
                    ControlToValidate="tbPostTitle" SetFocusOnError="true"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="DetailTitle">
                <span>&nbsp;联系方式：</span>
            </td>
            <td class="FieldInput">
                <asp:TextBox ID="tbLinkAddress" runat="server" CssClass="Textbox01" Width="90%" MaxLength="100"></asp:TextBox><asp:RequiredFieldValidator
                    ID="RequiredFieldValidator2" runat="server" ErrorMessage="*" Display="Static"
                    ControlToValidate="tbLinkAddress" SetFocusOnError="true"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr style="height: 200px;">
            <td class="DetailTitle" style="vertical-align: top;">
                <span>&nbsp;留言内容：</span>
            </td>
            <td class="FieldInput" style="vertical-align: top;">
                <asp:TextBox ID="tbPostContent" runat="server" TextMode="MultiLine" MaxLength="2000"
                    Height="180px" CssClass="TextArea01" Width="90%"></asp:TextBox><asp:RequiredFieldValidator
                        ID="RequiredFieldValidator3" runat="server" ErrorMessage="*" Display="Static"
                        ControlToValidate="tbPostContent" SetFocusOnError="true"></asp:RequiredFieldValidator>
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="DescriptionContentPlaceHolder" runat="Server">
</asp:Content>
